namespace UserManagementService.DTOs;

/// <summary>
/// 导出组织DTO
/// </summary>
public class ExportOrganizationsDto
{
    /// <summary>
    /// 组织ID列表，为空则导出所有
    /// </summary>
    public List<Guid> OrganizationIds { get; set; } = new List<Guid>();

    /// <summary>
    /// 父组织ID，导出指定组织下的所有子组织
    /// </summary>
    public Guid? ParentId { get; set; }

    /// <summary>
    /// 是否包含成员信息
    /// </summary>
    public bool IncludeMembers { get; set; } = false;

    /// <summary>
    /// 导出格式：Excel、Csv、Json
    /// </summary>
    public string Format { get; set; } = "Excel";

    /// <summary>
    /// 是否只导出启用的组织
    /// </summary>
    public bool OnlyEnabled { get; set; } = true;
}